<?php
$get_cat = get_current_cat($cat_id, 0, $cat_p);
if(!empty($get_cat)) {?>
<div class="row-fluid current-cat">
    <div class="current-cat-in">
        <ul>
        <?php       
        if ($pageURL != $homepage) {
            echo $get_cat;
        }
        ?>
        </ul>
    </div>
</div>
<?php }?>